import Vue from 'vue'
import Vuex from 'vuex'

import actions from './actions'
import getters from './getters'
import mutations from "./mutations"

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    currentindex: 0,
    cartList: [],
  },
  mutations: mutations,
  actions: actions,
  getters: getters,
  modules: {}
})